package com.myidis.response;

public class PeakValleyRes {

	private String name;
	private String result;
	
	public PeakValleyRes(String name, String result)
    {
        this.name = name;
        this.result = result;
    }
	
	public PeakValleyRes(double peakOrder, double valleyOrder, double peakVariance, double valleyVariance)
    {
        this.result = "峰平均阶数为 " + peakOrder + "， 标准差为 " + peakVariance + ", 谷平均阶数为  " + valleyOrder + "，标准差为" + valleyVariance;;
    }
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}
	
	public String getResult(String quota) {
		this.name = quota;
		return this.result;
	}
}
